package com.xsf.pay.entity;

import java.util.Date;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serial;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 角色权限关联表(RolePermission)角色权限关联表
 *
 * @author makejava
 * @since 2025-05-12 15:00:33
 */

@Data
@TableName("xsf_role_permission")
@Accessors(chain = true)
public class RolePermission implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 角色ID
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 权限ID
     */
    @TableField("permission_id")
    private String permissionId;

    /**
     * 创建时间
     */
    @TableField("created_at")
    private Date createdAt;

}
